home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
mint110s.zoo
/
welcome.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-31
|
2KB
|
87 lines
/* welcome.c - MiNT welcome message
* Copyright 1992,1993,1994 Atari Corp. All Rights Reserved.
*=======================================================================
* 920625 kbad
*/
#include "mint.h"
#include "version.h"
const char *memprot_notice = "\
You have used -m to turn off memory\r\n\
protection. On a 68000, you don't\r\n\
need to do this because MiNT will\r\n\
do it for you automagically.\r\n";
const char *memprot_warning = "\033p\
*** WARNING *** \033q\r\n\
You have turned off memory protection.\r\n\
This is not recommended, and may not be\r\n\
supported in the future.\r\n";
const char *insuff_mem_warning = "\033p\
*** WARNING *** \033q\r\n\
Your system's memory is not large enough\r\n\
to permit memory protection to be enabled.\r\n";
const char *greet1 = "\r\n\033p\033f\
MiNT is Now TOS (" __DATE__ ") \033q\r\n\
MiNT v"; /*x.xx prelim version PL xx*/
#if defined(BETA) || !defined(MULTITOS)
const char *greet2 = "\r\n\
\xbd 1990,1991,1992 Eric R. Smith\r\n\
MultiTOS kernel\r\n\
\xbd 1992,1993,1994 Atari Corporation\r\n\
All Rights Reserved.\r\n\033p\
Use this program at your own risk! \033q\r\n\r\n";
#else
const char *greet2 = "\r\n\
\xbd 1990,1991,1992 Eric R. Smith\r\n\
MultiTOS kernel\r\n\
\xbd 1992,1993 Atari Corporation\r\n\033p\
All Rights Reserved. \033q\r\n\r\n";
#endif
#ifdef MULTITOS
/*
* "boot MultiTOS?" messages, in various langauges:
*/
struct yn_message {
const char *message; /* message to print */
char yes_let; /* letter to hit for yes */
char no_let; /* letter to hit for no */
} boot_it[MAXLANG] = {
{ "Load MultiTOS? (y)es (n)o ", 'y', 'n' },
{ "MultiTOS laden? (j)a (n)ein ", 'j', 'n' },
{ "Charger MultiTOS? (o)ui (n)on ", 'o', 'n' },
{ "Load MultiTOS? (y)es (n)o ", 'y', 'n' }, /* reserved */
{ "¿Cargar MultiTOS? (s)i (n)o ", 's', 'n' }, /* upside down ? is 168 dec. */
{ "Carica MultiTOS? (s)i (n)o ", 's', 'n' }
};
/*
* ask the user whether s/he wants to boot MultiTOS; returns 1 if
* yes, 0 if no
*/
int
boot_kernel_p()
{
extern int gl_lang;
struct yn_message *msg;
int y;
msg = &boot_it[gl_lang];
Cconws(msg->message);
y = (int) Cconin();
if (tolower(y) == msg->yes_let)
return 1;
else
return 0;
}
#endif /* MULTITOS */